package pol.example;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class hj {
    @Bean
    public User user() {
        return new User("John Doe", 30);
    }
}